//
//  ViewController.m
//  DCRequestTest
//
//  Created by Joinwe on 16/5/26.
//  Copyright © 2016年 Joinwe. All rights reserved.
//

#import "ViewController.h"
#import "DCRequest.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    [[DCRequest shareDCRequest] callWithWithBaseURL:@"http://192.168.1.131:8080/resource/" path:@"project/all" menu:nil requestType:DCRequestTypeGet parameter:@{@"pageIndex":@"1", @"pageSize":@"10", @"platformType": @"1"} callBack:^(DCResponse * _Nullable response) {
        NSLog(@"%@",response.data);
    }];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
